﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DAL;
namespace BUS
{
    public class SellGoodsBL
    {
        SellGoodsDAL dal = new SellGoodsDAL();
        #region[SellGoods_SelectALL]
        public List<DTO.SellGoodsDTO> SellGoods_SelectALL()
        {
            return dal.SellGoods_SelectALL();
        }
        #endregion

        #region [SellGoods_Insert]
        public bool SellGoods_Insert(DTO.SellGoodsDTO sad)
        {
            return dal.SellGoods_Insert(sad);
        }
        #endregion

        #region [SellGoods_InsertReport]
        public bool SellGoods_InsertReport(DTO.SellGoodsDTO sad)
        {
            return dal.SellGoods_InsertReport(sad);
        }
        #endregion

        #region [SellGoods_DeleteReport]
        public bool SellGoods_DeleteReport()
        {
            return dal.SellGoods_DeleteReport();
        }
        #endregion

        #region[SellGoods_SelectByDate]
        public List<DTO.SellGoodsDTO> SellGoods_SelectByDate(String date,String year)
        {
            return dal.SellGoods_SelectByDate(date, year);
        }
        #endregion

        #region[SellGoods_SelectByDate1]
        public DataTable SellGoods_SelectByDate1(String date)
        {
            return dal.SellGoods_SelectByDate1(date);
        }
        #endregion
    }
}
